package com.example.searchenginebackend.constant;

/**
 * 跟索引相关的常量信息类
 * @author 米饭好好吃
 */
public interface IndexConstant {
    String FORWARD_INDEX_PATH = "D:\\code\\projects\\project\\JavaDocSearchEngine\\searchengine-backend\\doc_index\\forward.txt";
    String INVERTED_INDEX_PATH = "D:\\code\\projects\\project\\JavaDocSearchEngine\\searchengine-backend\\doc_index\\invert.txt";

    Integer KEY_IN_TITLE_WEIGHT = 10; // 关键词在标题中的前缀
    Integer KEY_IN_CONTENT_WEIGHT = 1; // 关键词在内容中的前缀
}
